<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
            
    </head>
    <body>
            <?php 
 //           foreach($_FILES as $k=>$v){
  //              echo "<br/>".$k."--->".gettype($v);
    //        }
       //     foreach($_FILES["myuploadfile"] as $k=>$v){
         //       echo "<br/>".$k."--->".gettype($v)." : ".$v;
           // }
            if (!$_FILES["myuploadfile"]["error"]){
                $newname="upload_files/".time()."_".$_FILES["myuploadfile"]["name"];
                move_uploaded_file($_FILES["myuploadfile"]["tmp_name"],$newname);
                echo "<br/><a href=\"$newname\">下载</a>";
               
            }
            if (!$_FILES["myuploadfile2"]["error"]){
                $newname="upload_files/".time()."_".$_FILES["myuploadfile2"]["name"];
                move_uploaded_file($_FILES["myuploadfile2"]["tmp_name"],$newname);
                echo "<br/><a href=\"$newname\">下载</a>";
               
            }
            if (!$_FILES["myuploadfile3"]["error"]){
                $newname="upload_files/".time()."_".$_FILES["myuploadfile3"]["name"];
                move_uploaded_file($_FILES["myuploadfile3"]["tmp_name"],$newname);
                echo "<br/><a href=\"$newname\">下载</a>";
               
            }
            ?>
        </form>    
    </body>
</html>